function GuiContainerTabOrders() {
  
};

GuiContainerTabOrders.instance = function(prefix, orders) {
  var gui = { tabs: []
            };
  for (var i = 0, il = orders.length; i < il; i++) {
    gui.tabs[gui.tabs.length] = GuiContainerTabOrders._tab(prefix + '_' + i);
  }
  return gui;
};

GuiContainerTabOrders._tab = function(prefix) {
  return { tab: document.getElementById(prefix + '_tab_div')
         };
};